<div class="container">

    <div id="main">
        <div class="row">
            <div class="span9">
                <h1 class="page-header">Shortlist</h1>
                <?php if ($success) { ?>
                    <div class="success"><?php echo $success; ?><img src="<?php echo base_url() ?>assets/img/close.png" alt="" class="close" /></div>
                <?php } ?>
                <?php if ($listings) { ?>
                    <div class="wishlist-info">
                        <table>
                            <thead>
                                <tr>
                                    <td class="name">Project Name</td>
                                    <td class="price">Unit Price</td>
                                    <td class="action">Action</td>
                                </tr>
                            </thead>
                            <?php foreach ($listings as $product) { ?>
                                <tbody id="wishlist-row<?php echo $product['listingid']; ?>">
                                    <tr>
                                        <td class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></td>
                                        <td class="price"><?php if ($product['price']) { ?>
                                                <div class="price">
                                                    <b><?php echo $product['price']; ?></b>
                                                </div>
                                            <?php } ?></td>
                                        <td class="action"><a href="<?php echo $product['remove']; ?>"><img src="<?php echo base_url(); ?>assets/img/remove.png" alt="Remove" title="Remove" /></a></td>
                                    </tr>
                                </tbody>
                            <?php } ?>
                        </table>
                    </div>
                <?php } else { ?>
                    <div class="content">Your short list is empty.</div>
                <?php } ?>
            </div>
            <div class="sidebar span3">
                <?php $this->load->view('helpers/widgets/ad.php'); ?>
            </div>
        </div>
    </div>
</div>